package com.fortune.rainshinecommon.enums;

/**
 * @ClassName: RedisConstant
 * @Description: redis常量
 * @author zhangxin
 * @date 2019年3月14日
 */
public enum RedisConstantEnum{

		SMS(1, "sms:app:"),
		TOKEN(2, "token:app:"),
		ADDCUSTOMER(3,"customer:add"),//添加顾客
		BUYPRODUCT(4,"customer:product"),//顾客购买产品
		PAYCARD(5,"customer:pay"),//会员服务
		BUYCARD(6,"customer:card")//购买会员卡
		;
	
	    private final int code;
	    private final String message;

	    RedisConstantEnum(int code, String message) {
	        this.code = code;
	        this.message = message;
	    }

	    public int getCode() {
	        return code;
	    }

	    public String getMessage() {
	        return message;
	    }
}
